#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
void Adjust_parity(int arr[14], int size)
{
	int* p = arr,tmp=0;
	for (int i = 0; i < size; i++)
	{
		if (arr[i] % 2)
		{
			tmp = arr[i];
			arr[i] = *p;
			*p = tmp;
			p++;
		}
	}

}
int main()
{
	int arr[] = { 0,1,2,4,23,18,3,7,19,14,10,6,5,17 };
	Adjust_parity(arr,14);
	for (int i = 0; i < 14; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}